package com.formulas.resources.formulas.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

/**
* <p>
* 角色资源信息表
* </p>
*
* @author 坚持是一种技术
* @since 2023-08-12
*/
@Data
@TableName("formulas_role")
@Tag(name = "FormulasRole对象", description = "角色资源信息表")
public class FormulasRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "角色编号")
    @TableId("role_id")
    private String roleId;

    @Schema(description = "中文名称")
    @TableField("chinese_name")
    private String chineseName;

    @Schema(description = "英文名称")
    @TableField("english_name")
    private String englishName;

    @Schema(description = "角色过期")
    @TableField("enabled")
    private Boolean enabled;

    @Schema(description = "角色描述")
    @TableField("description")
    private String description;


}